package create_pattern.factory.factory_method;

/**
 * @author fly
 * @data 2022-03-29
 * 方法工厂模式：gif工厂来创建GifPicture对象-具体工厂
 */
public class GifFactory implements ReadFactory{
    @Override
    public Picture createPicture() {
        GIfPicture gIfPicture = new GIfPicture();
        return gIfPicture;
    }
}